
export type ElFormItem = {
    label?: string
    labelWidth?: string
    placeholder?: string
    colSpan?: number,
    opts?: Array<{ label: string, value: string }>
}
export type ElBtuttonAttr = {
    // 定义elbutton type类型
    type?: 'default' | 'primary' | 'success' | 'warning' | 'danger'
    text?: string
}
export type ElButtonOpts = {
    type: ElFormItem
    text: ElFormItem
}
export interface IHomeState {
    [key: string]: any
    nav: {
        [key: string]: any
        card: string
        logo: string
        title: string
        subTitle: string
        bgColor: string
    }
    navOpts: {
        [key: string]: any
        cardTitle: string,
        title: ElFormItem
        subTitle: ElFormItem
        logo: ElFormItem
        bgColor: ElFormItem
    }
    aside: {
        [key: string]: any
        card: string
        bgColor: string
        deviceInfo: {
            [key: string]: any
            card: string
        }
        deviceControl: {
            [key: string]: any
            card: string
            directionIcon: string
            circleIcon: string
        }
        streamControl: {
            [key: string]: any
            card: string
            record: ElBtuttonAttr
            snapshot: ElBtuttonAttr
        }
    }
    asideOpts: {
        [key: string]: any
        cardTitle: string,
        self: {
            [key: string]: any
            card: ElFormItem,
            bgColor: ElFormItem
        }
        deviceInfo: {
            [key: string]: any
            card: ElFormItem
        }
        deviceControl: {
            [key: string]: any
            card: ElFormItem
            directionIcon: ElFormItem
            circleIcon: ElFormItem
        }
        streamControl: {
            [key: string]: any
            card: ElFormItem
            record: ElButtonOpts
            snapshot: ElButtonOpts
        }
    }

}
export interface IHomeActions {
    [key: string]: any
}
export interface IHomeGetter {
    [key: string]: any
}
export interface IHomeMutations {
    [key: string]: any
}